import axios from 'axios'
export default {
    install(Vue) {
        Vue.prototype.$http = async function ({
            url,
            params
        }) {
            return axios({
                url: url,
                params
            })
        }
    }
}